gtkpango: Add G_GNUC_WARN_UNUSED_RESULT
authorBenjamin Otte <otte@redhat.com>
Thu, 9 Jun 2022 00:42:10 +0000 (02:42 +0200)
committerBenjamin Otte <otte@redhat.com>
Fri, 10 Jun 2022 02:34:23 +0000 (04:34 +0200)
Guess who just spent 10 minutes in gdb and doesn't want to do that
again.

gtk/gtkpango.h

index a7eae932c380acc7bb407628f09a2b8780b121e2..55cab30b3c5ca9d2a8fc7a400ed97a60c9451a6b 100644 (file)
@@ -31,7 +31,7 @@
 G_BEGIN_DECLS
 
 PangoAttrList *_gtk_pango_attr_list_merge (PangoAttrList *into,
-                                           PangoAttrList *from);
+                                           PangoAttrList *from) G_GNUC_WARN_UNUSED_RESULT;
 
 gboolean gtk_buildable_attribute_tag_start (GtkBuildable       *buildable,
                                             GtkBuilder         *builder,